@charset"utf-8";
@import'color';
@import'model-beta';
@import'theme';
* {
    margin: 0 auto;
    font-family: 'icomoon', "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", sans-serif!important;
}
a {
    text-decoration: none;
}
html, body {
    width: 100%;
    height: 100%;
    font-size: 14px !important;
    background-color: #aaa;
    min-width: 1024px;
}
h1 {
    font-size: 25px !important;
}
.top {
    width: 100%;
    background-color: $white;
    .topbar {
        width: 1000px;
        padding: 0 12px;
        line-height: 40px;
        height: 40px;
        .inner {
            margin-right: 18%;
        }
    }
    .logobox {
        width: 100%;
        background-image: url('/images/dotnar.com/logo_bg.jpg');
        background-repeat: no-repeat;
        background-size: 100%;
        text-align: center;
        .info {
            width: 100%;
            padding: 25px 0;
            background-color: rgba($black, 0.6);
            * {
                color: $white;
            }
            h1 {
                padding-top: 0 !important;
            }
            .logo {
                width: 13%;
            }
        }
    }
}
.main {
    @include comic_1(0, 0);
    width: 100%;
    text-align: center;
    .nav {
        width: 1024px;
        padding: 15px 0;
        .nav_item {
            width: 120px;
            height: 80px;
            background-color: $black;
            display: inline-block;
            vertical-align: top;
            margin: 0 15px;
            @include radius(2);
            font-size: 18px;
            line-height: 80px;
            color: $white;
            cursor: pointer;
            @include comic_1(0.3, 0);
            @include shadow(0, 0, 0, $white);
            &:hover {
                @include shadow(0, 1px, 15px, #000);
            }
            &.focus {
                @include shadow(0, 1px, 15px, #000);
            }
        }
    }
    .info {
        width: 100%;
        min-height: 10px;
        padding: 15px 0;
        background-color: $black;
        color: $white;
        * {
            color: $white;
        }
        .box {
            position: relative;
            width: 1024px;
            @include breakLine;
            .mark {
                position: absolute;
                top: -30px;
                left: 202px;
                color: $black;
                font-size: 20px;
                @include comic_1(0.3, 0);
                &.nav1 {
                    left: 202+150px;
                }
                &.nav2 {
                    left: 202+300px;
                }
                &.nav3 {
                    left: 202+450px;
                }
                &.nav4 {
                    left: 202px+600px;
                }
            }
            .innerbox {
                width: 1024px;
                overflow: hidden;
                height: 490px;
                @include comic_1(0.5, 0);
                &.b1 {
                    height: 250px;
                }
                &.b2 {
                    height: 160px;
                }
                &.b3 {
                    height: 1000px;
                }
                &.b4 {
                    height: 360px;
                }
            }
            .device {
                width: 1024px;
                display: inline-block;
                vertical-align: top;
                @include comic_1(0.5, 0);
                margin-left: 0;
                .deviceimg {
                    display: inline-block;
                    width: 32%;
                    vertical-align: middle;
                }
                .devicetext {
                    display: inline-block;
                    width: 40%;
                    padding: 0 4%;
                    vertical-align: middle;
                    text-align: left;
                    @include newLine;
                }
            }
            .case {
                width: 1024px;
                display: inline-block;
                vertical-align: top;
                .item {
                    background-color: $white;
                    display: inline-block;
                    vertical-align: top;
                    width: 220px;
                    padding: 5px;
                    @include shadow(0, 1px, 4px, #ccc);
                    margin: 10px;
                    @include comic_1(0.5, 0);
                    &:hover {
                        @include shadow(0, 1px, 15px, #eee);
                        img {
                            @include shadow(0, 1px, 8px, #a0a0a0);
                        }
                    }
                    img {
                        @include shadow(0, 1px, 3px, #c0c0c0);
                        @include comic_1(0.3, 0);
                    }
                    .caseinfo {
                        color: $black;
                    }
                }
            }
            .build {
                * {
                    text-align: left;
                    color: $white;
                }
                .buildbox {
                    width: 80%;
                }
                .pay{
                    padding: 50px 0;
                    width: 280px;
                    z-index: 1000;
                    position: fixed;
                    background-color: rgba(#191919,0);
                    bottom: -500px; 
                    left: 40%;
                    text-align: center;
                    @include comic_1(0.3,0);
                    @include shadow(0,1px,15px,#000);
                    a{
                        color: $cyan;
                        cursor: pointer;
                    }
                    &.focus{
                        bottom: 100px;
                        background-color: rgba(#191919,0.9);
                    }
                }
                .code{
                	margin: 20px 0;
                }
                .getcode{
                	border: 0;
                	@include BgTransparent($black,0,0);
                	border-bottom: 1px solid $white;
                	padding: 8px 0;
                	outline: none;
                	margin-right: 20px;
                }
                color: $white;
                width: 1024px;
                text-align: left;
                display: inline-block;
                vertical-align: top;
                .chosetype{
                    margin-top: -20px;
                    .choseitem{
                        display: inline-block;
                        vertical-align: top;
                        margin-right: 30px;
                    }
                    .icon-checkbox-checked{
                        color: $cyan;
                        cursor: pointer;
                    }
                    .icon-checkbox-partial{
                        cursor: pointer;
                    }
                    p{
                        color: $cyan;
                    }
                }
                a{
                    margin-left: 30px;
                    color: $cyan;
                    text-decoration: underline;
                }
            }
            .team {
                display: inline-block;
                vertical-align: top;
                width: 1024px;
                padding: 50px 0;
                margin-left: 0;
                @include comic_1(0.5, 0);
                video{
                    display: block;
                    margin-bottom: 20px;
                }
                &.box1 {
                    margin-left: -100%;
                }
                &.box2 {
                    margin-left: -200%;
                }
                &.box3 {
                    margin-left: -300%;
                }
                &.box4 {
                    margin-left: -400%;
                }
                .teamitem {
                    width: 65%;
                    &.last {
                        margin-bottom: 0;
                    }
                    .icon-droplet {
                        display: inline-block;
                        vertical-align: middle;
                        font-size: 50px;
                        margin-right: 8%;
                        text-shadow: 0 1px 10px #a0a0a0;
                        &:before {
                            font-size: 50px;
                        }
                    }
                    .text {
                        text-indent: 2em;
                        display: inline-block;
                        vertical-align: middle;
                        width: 75%;
                        @include newLine;
                        text-align: left;
                        padding-left: 8%;
                        border-left: 1px solid #c0c0c0;
                    }
                }
            }
            .connect {
                display: inline-block;
                vertical-align: top;
                width: 1024px;
                .mapbox {
                    display: inline-block;
                    vertical-align: top;
                    width: 40%;
                    margin-right: 5%;
                    height: 250px;
                    @include shadow(0, 1px, 15px, #c0c0c0);
                    #dituContent {
                        width: 100%;
                        height: 100%;
                    }
                }
                .connectinfo {
                    display: inline-block;
                    vertical-align: top;
                    @include newLine;
                    text-align: left;
                    line-height: 25px;
                    input[type='text'] {
                        border: 0;
                        background-color: transparent;
                        border-bottom: 1px solid #c0c0c0;
                        line-height: 1em;
                        padding: 3px;
                        outline: none;
                    }
                    textarea {
                        border: 0;
                        width: 410px;
                        height: 60px;
                        margin: 10px auto;
                        resize: none;
                        color: $black;
                        @include shadow(0, 1px, 8px, #c0c0c0);
                    }
                }
            }
        }
    }
}
.bottom {
    margin-top: 50px;
    width: 100%;
    text-align: center;
    padding: 20px;
    background-image: url('/images/dotnar.com/bottom.jpg');
    background-repeat: no-repeat;
    background-size: 100%;
    * {
        color: $white;
    }
}
button {
    border: 0;
    background-color: $black;
    padding: 8px 15px;
    outline: none;
    @include shadow(0, 1px, 8px, #c0c0c0);
    @include comic_1(0.5, 0);
    @include radius(2);
    color: $white;
    cursor: pointer;
    &:hover {
        color: $black !important;
        background-color: $white;
        @include shadow(0, 1px, 8px, #000);
    }
    &.disabled{
    	color: $grayLight!important;
    	background-color: $black!important;
    	@include shadow(0,1px,8px,#000);
    }
}
.android-input {
    position: relative;
    margin-top: 24px;
    margin-bottom: 48px;
    height: 42px;
    * {
        margin: 0;
        -webkit-transition: all 450ms cubic-bezier(0.23, 1, .32, 1) 0ms;
        -moz-transition: all 450ms cubic-bezier(0.23, 1, .32, 1) 0ms;
        -ms-transition: all 450ms cubic-bezier(0.23, 1, .32, 1) 0ms;
        -o-transition: all 450ms cubic-bezier(0.23, 1, .32, 1) 0ms;
        transition: all 450ms cubic-bezier(0.23, 1, .32, 1) 0ms
    }
    inheritWrap {
        background-color: #00f;
        color: #00f;
        display: block;
        visibility: hidden
    }
    inheritWrap * {
        visibility: visible
    }
    input {
        display: block;
        background-color: transparent;
        font-size: 16px;
        width: 100%;
        box-sizing: border-box;
        outline: 0;
        border: 0;
        border-bottom: 1px solid #D3D3D3;
        padding: 0 0 14px;
        position: relative;
        z-index: 1
    }
    input:-moz-placeholder {
        color: transparent
    }
    input::-moz-placeholder {
        color: transparent
    }
    input::-webkit-input-placeholder {
        color: transparent
    }
    input:-ms-input-placeholder {
        color: transparent
    }
    inputPlaceholder {
        font-size: 16px;
        color: gray;
        position: absolute;
        top: -4px
    }
    inputHighlight {
        content: '';
        position: absolute;
        background-color: transparent;
        opacity: .25;
        height: 19px;
        top: -3px;
        z-index: -1;
        width: 100%
    }
    inputBar {
        position: relative;
        display: block;
        width: 100%;
        z-index: 1;
        background-color: inherit
    }
    inputBar:after, inputBar:before {
        box-sizing: border-box;
        content: '';
        height: 2px;
        top: -2px;
        width: 0;
        position: absolute
    }
    inputBar:before {
        left: 50%
    }
    inputBar:after {
        right: 50%
    }
    inputDescription {
        display: none;
        color: inherit;
        position: absolute;
        top: 36px
    }
    input:focus {
        outline: 0;
        box-shadow: none
    }
    input:focus~inputPlaceholder {
        color: inherit;
        font-size: 13px!important;
        font-weight: 300;
        top: -32px
    }
    input:focus~inputHighlight {
        width: 0;
        background-color: inherit
    }
    input:focus~inputBar:after, input:focus~inputBar:before {
        -webkit-transition: all 450ms cubic-bezier(0.23, 1, .32, 1) 0ms;
        -moz-transition: all 450ms cubic-bezier(0.23, 1, .32, 1) 0ms;
        -ms-transition: all 450ms cubic-bezier(0.23, 1, .32, 1) 0ms;
        -o-transition: all 450ms cubic-bezier(0.23, 1, .32, 1) 0ms;
        transition: all 450ms cubic-bezier(0.23, 1, .32, 1) 0ms;
        background-color: inherit;
        width: 50%
    }
    input:focus~inputDescription {
        display: block
    }
    input:not(:focus):valid+inputPlaceholder {
        color: gray;
        font-size: 13px!important;
        font-weight: 300;
        top: -32px
    }
}
